using System.Collections.Generic;

namespace RBAC.Read.Api.Application.Dto.ERP.SalesManagement.H
{
    public class GetSalesOrderKpiDto
    {
        public List<SalesOrderKpiPoint> Points { get; set; } = new();
    }

    public class SalesOrderKpiPoint
    {
        /// <summary>
        /// 分组标签，例如 2025-08-01 或 2025-08
        /// </summary>
        public string Label { get; set; } = string.Empty;
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderCount { get; set; }
        /// <summary>
        /// 销售额（金额）
        /// </summary>
        public decimal SalesAmount { get; set; }
    }
}
